home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 22
/
Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso
/
Aminet
/
dev
/
misc
/
GetVersion.readme
< prev
next >
Wrap
Text File
|
1997-11-02
|
1KB
|
36 lines
Short: Fix Installer's getversion()
Author: Andreas_Kleinert@t-online.de
Uploader: Andreas_Kleinert@t-online.de
Type: dev/misc
Improved INSTALLER version checking procedure (23.10.97), V1.1
--------------------------------------------------------------
(C) 1997 by Andreas R. Kleinert (Andreas_Kleinert@t-online.de)
Freeware. Feel free to add it to your own installer scripts!
As discussed on the DTA mailing list before, Installer's getversion()
procedure is somewhat buggy. So I have written a builtin replacement
using the Installer's lisp-like language to call C:Version and parse
its output.
Feel free to use and include with your own scripts.
Still missing is a cmpversion() procedure, which takes two file names and
does compare the versions by itself (e.g. to return #CMPVER=1 for f1 > f2
and #CMPVER=2 for f1 < f2). Maybe that'll follow.
--
ARK
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
890 476 46.5% 23-Oct-97 15:48:08 +GetVersion.readme
1814 624 65.6% 23-Oct-97 15:48:58 +newgetver.installer
-------- ------- ----- --------- --------
2704 1100 59.3% 24-Oct-97 04:01:14 2 files